package cn.yyh.org.domain.VO;

import cn.yyh.org.domain.Employee;
import cn.yyh.org.domain.Shop;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author 杨永航
 * @version 1.0
 * @Title: ShopVO
 * @Package: cn.yyh.org.domain.VO
 * @date 2021/6/29
 */
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class ShopVO extends Shop {
    private EmployeeVO admin;

    public ShopVO(Long id, String name, String tel, Date registerTime, Integer state, String address, String logo, Long adminId, EmployeeVO admin) {
        super(id, name, tel, registerTime, state, address, logo, adminId);
        this.admin = admin;
    }

}
